<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>科室列表</title>
        <link rel="stylesheet" href="/css/index.css">
        <link rel="stylesheet" href="/css/bootstrap.min.css">
    </head>

    <body>
       <header>
            <div class="container">
               
                    <nav>
                            <a href="" >内科</a>
                    </nav>
                    <nav>
                            <a href="" >外科</a>
                    </nav>
                    <nav>
                        <a href="" >分类</a>
                    </nav>
               
            </div>
        </header>
        <section class="banner">
            <div class="container">
                <div>
                    <h1>科室</h1>
                    <p>科室列表</p>
                </div>
            </div>
        </section>
        <section class="main">
            <div class="container">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>分类</th>
                        <th>创建时间</th>
                        <th>最后修改时间</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <#list list as category>
                            <tr>
                                <th>${category.name}</th>
                                <th>${category.categoryId}</th>
                                <th>${category.createTime?string('yyyy.MM.dd HH:mm:ss')}</th>
                                <th>${category.updateTime?string('yyyy.MM.dd HH:mm:ss')}</th>
                                <th>
                                    <a href="/cate/look?id=${category.id}">修改</a>&nbsp;&nbsp;
                                    <a href="/cate/delete?id=${category.id}">删除</a>
                                </th>
                            </tr>
                    </#list>
                    </tbody>
                </table>
            </div>
        </section>
        <section class="page">
            <div class="container">
                <div id="fatie">
                    <a href="/dept/hello"><button>新建</button></a>
                </div>
            </div>
        </section>
        <footer>

        </footer>
    </body>
</html>